corr function

2nd momments of sparse matrices