forward-backward incorrect, fixed

Forward-backward was returning incorrect emission weights due to considering tied states, which it should not have done. This should only be done in the training. Upon fixing this, maximum a posteriori began giving correct paths again.