Hidden Markov Models in Finance