Added getDistance method to Location