tidying comments and output of the extended KNN generalization error finder script