Add sampling with(out) replacement.
Fix AdaBoost test case.
Use sampling with replacement for bagging.