mixture model training added; EM for mixture model added

- EM for mixture model
- mixture model training
- unittest for mixture model with gaussian distributions 
@karlnapf actually CStatistics uses log-sum-exp with min element. I found out that it was causing some numbers in the array to become infinity, thus giving very wrong result. Using max number for log-sum-exp solves the problem here.