Compare calculation speed and precision for geodesic ellipsoid distance calculation functions implemented in JavaScript.