Confidence intervals in a regression with both linear and non-linear terms