How To Calculate Two Point Correlation Function