function for displaying the correlation matrix