mixture model training added; EM for mixture model added

- EM for mixture model
- mixture model training
- unittest for mixture model with gaussian distributions 
The require condition after should suffice. if features is NULL dotdata will be NULL too.