Working HMM Training added