Updated HMM.py included is_mE_used boolean indicator