Added some comments to the code
Fixed major bug in nearest neighbor search.

Added another "nearest" overload that works just in terms of QVectorND,
not in terms of QKDTreeNode