cor.mat.3way function

See the correlation matrix for a 3-way interaction