added euclidian and minkowski distance