Code to calculate the average correlation coef. for each month.