Hidden Markov Models simulations and estimations