Multi-States Semi-Markov Models