nazca #116929 Deal with possible singleton value for KDTree [open]

The KDTree neighbouring function is expecting a two-dimensional (or more) array. Using a sigleton value, makes the function crash.
Deal with it, creating a 1-lenght tuple.

prioritynormal
typebug
done in0.2.0
load0.100
load left0.000
closed by<not specified>