Updating k-nearest neighbor feature matching to make proper use of the kd-tree structure used in double-valued k-NN.
Merge remote-tracking branch 'upstream/development' into development