Update KNearestNeighbors.java