Euclidean Distance Python 2d