update generator

- fix typos
- correct markov model data
add hidden state finder

- add finder using viterbi algorithm