Make the code of the two point correlation cleaner.