elementCor function

Calculate the correlations between elements.