corrMatrix function

Returns the correlation sums stored in the corrDim object