Removed the method for calculating the distance between two points and tests, as it was never used, except in tests