added doc in code for check_corr_matrix