Changed interfaces for classifySample and find1NN/kNN.

Two versions now - with/without distances argument.