Non-Gaussian data modeling with hidden Markov models