Calculate the Euclidean distance been two points in 2D/3D/nD space.