hmm.py def supervised_train()