Add M-step for alpha and unit test.