added solve correlation coefficient matrix