run regs, store coeffs and r2