fix rounding error for rhumb lines