Replaced cross-validation KNN code with sklearn equivalent.