UPDATE MarkovModel class, changing moveToState method