Added termination probability to forward backward algorithm.
Added spaces.