Added the calculation distance between two punts function