First working version of CORRELATIONS.