Fix hmm example: don't redefine states variable