get_gam_predictions function

Get predictions from a GAM model.