Added cor and corMat