changed distance calculation. needed to convert to radians first