Fix the velocity calculation at the poles.