buiild correlation matrix form exploded matrix data