add aggregation functions including corr, covar,regr-slope, regr-interce...

add aggregation functions including corr, covar,regr-slope, regr-intercept and unit tests.

These change seem unrelated to adding the new functions. Please split these out into a separate commit.