added correlations code with no fluff to git