Changed interface method in Classifier from classify to classifySample. All classifiers needed to be adapted.

Implemented learnOptimalK, but not tested.