Fixed alpha and prior in adaboost

Fixed incorrect alpha calculation
Calculate prior for each t