anlz_gam function

Fit a generalized additive model to a water quality time series