Euclidean distance and correlation