Memory leak cleared
Corrections in HMM from fnoe
apply latest changes from master of bitbucket