seperated out knn testing, data processing