Modifying the numericTicks algorithm to include the last 'nice' tick