Added comments to DistanceHandling.cs