simulate.smm function

Simulates semi-Markov chains