stopped exporting rcpp correlation matrix calculation