Made fixes to creating final probability table and M step of EM algorithm.