Added KNN C binding