powered by
Polynomial Residuals Function that fits a polynomial and returns the residuals
poly_residuals(yr, m)
is a real valued vector
is the detrending order