http://e.biohackers.net/Euclidean_distance