which is why you should just use GeographicLib (or proj, now that it incorporates the same geodesic routines).