Adding coef. of corr. calculation and a test scenario