Uploading Nick D's KNN file

This line will cause a warning because you are assuming that the ith element is also a vector, which it isn't!