Updating k-nearest neighbor feature matching to make proper use of the kd-tree structure used in double-valued k-NN.