translates formula found at http://www.movable-type.co.uk/scripts/latlong.html