Update EMHMM.m