Normalize euclidian distance matrix