Updated termination condition for EM-algorithm.