Minor changes in constructors. Added tests. Added comments.
Added asserts to PreprocessClassifyTest to check if preprocess() and classify() yield correct results.
Fixed and tested learnOptimalK. Added tests. Added new interfaces for external distances, nndists and k. Updated all classifiers. Fixed destructors. Added comments. Cleaned code.