Implemented distance functionality
Implemented Distance features