Cleaned copySampleDims method. memcpy is used.
Fixed error in cross-valdiation with missing labels in the lastFoldFile. Tested.