Update knn.impute.R