trying to do mutual nearest neighbour