Add distanceAsGeodesic method