mixture model training added; EM for mixture model added

- EM for mixture model
- mixture model training
- unittest for mixture model with gaussian distributions 
Might coverity complain about this if `features  != NULL` is not checked behorehand?