Moved bagging to a separate routine.
Moved uBoost weight adjustement to a separate procedure.
Added algorithm selection stub.
Added test for boost_real.