I am trying to find the nearest neigbour to every point in the dataset so I built a kdtree and query on it, the query has k value of 2, because if it is k=1 the point will b