Added geodesy functions and code in -main to exercise them