added in model selection at surface regression level using quadratic and gam models