Untested distance function created.