BaggingMachine bugs fixed, CARTree code refactored, unittests added