- bugfixes and kNN modifications
- kNN adapted