Use Core Location Distance calculation method to calculate distance instead of the custom-made algorithm.