Fixed the numerous bugs in E-step, implemented m-step and debugged it too. ran on test data, seems okay