compute correlation matrix

Apparently `corrcoeff` was missing, see #126. I feel like this must be duplicating functionality somewhere, but I can't find it.