Email Record: How to calculate Euclidean distance?.