sew_euclidean_distance function

Squared (excluding weights) Euclidean distance