m2_euclidean function

2D Euclidean