rec.reg function

Computes Recursive Regression.