dual_reg2 function

Dual Regression wrapper