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

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

You should refactor it to work with any number of `Block` s. You need to change `testAggregation()` and the `AbstractTestAggregation` class, maybe some other things