knndm function

K-fold Nearest Neighbour Distance Matching