Got Correlation Function Plots working