Update gen.interactions.r

Add quadratic term option
Update gen.interactions.r

Add quadratic term option
Merge pull request #6 from caiyi/master

Add quadratic term option