Fixed location error. I had the parameters assigned wrong in the DistanceCalculator class