hmm.cpp betas computed correctly now