Fix a bug in function find_nearest_k in nearest.py, I use dist and delta to find more than k, then get first[0:k]. The recursive result is not sorted, so first[0:k] elements is not the best k. Two way to fix: delta as small as possible & shuffle after finding res_lst.