Version 0.1 of knn-extension working