created distance function for lat/long coordinates