EM algorithm test added