Done the minkowsky distance