Added alpha functions, and integrated btb and alpha into predictor code.