Removed remnants of distanceCalc