Refactoring from DistanceCalculator class for giving the ability to
calculate distance over latitude and longitude values.
Javadoc added.