Correlation function logic and data
trying to make the arbitrary tensor doubling work