converted dual EM to use the dual of the e-step inference too