implemented a more robust method for choosing a starting bandwidth
for adaptive or generalized nearest neighbors, in the case where the data
are not unique
Merge branch 'master' into npRmpi