Modified Mathematica notebook to analyze correlation functions