corpcor
Efficient Estimation of Covariance and (Partial) Correlation