fixed small indexing bug in volknnsearch.m