speed up 47% by optimizing findNearestCity() to check for cityName in cities array before calculating gps distances (via @neosilky)