corrected KNN index error and strngthened overall model testing on the supervised side