neModel function

Fit a natural effect model