devel: Added assertions to distanceFunction
devel: Added assertions to distanceFunction

SebastianNiemann/Mantella,Mantella/Mantella,Mantella/Mantella,SebastianNiemann/Mantella,SebastianNiemann/Mantella,Mantella/Mantella