Update to geolocation

Added functions to get the distance between two gps coordinates and
determine the closest match