Implemented regressions andpolyeval function.