tested with EM
Merge branch 'master' of https://github.com/arendu/Featurized-EM
hmm gradient and model1 gradient working