reg_intervals function

A convenience function for confidence intervals with linear-ish parametric models