compute distance between current location and message location