interact function

Estimation of interaction coefficients