forward_s function

Forward algorithm for hidden semi-Markov models with homogeneous transition probability matrix