Shorest Distance between points