Update KNearestNeighborModel.java

Change the constructor