Euclidean Distance Matrix Python