compute distance from lat/long