code for plotting correlation matrix is done