Added version of factorizedCorr, slowly incorp pp compatible