EuclideanDistance function

The "Euclidean" distance