Fixed malfunctioning distance function - reasonable? looking output for 2 cities