EM Finished , missing iterator correctness in E Step, memory leaks in M
step
Partial commit for big changes in correctness