Changed the way the weight_distribution is initially set in the Adaboost algorithm. Added coments and formatted some code.