fixed convergance in maximization step