tested hmm on dummy data, looks like its doing the right thing