Index in output of nearest neighbour searches should always correspond to first input array.
Index in output of nearest neighbour searches should always correspond to first input array.

pschella/k3match,pschella/k3match