network_knn.mc function

K-nearest points on network (multicore version)