sim_nlf function

Define a non-linear relationship