ena_correlation function

Calculate the correlations