Fixing default argument issue in search_nn_dist. This was causing nodes to be duplicated in the array returned by the method.
Merge pull request #6 from zaaroth/master

Taking out collections as default parameters since they are evaluated just once and reused onwards.