KNN stuff
Merge remote-tracking branch 'DistributedKNN/master'