Updated linear and nearest to run through all types of regressions at once