Added code for generating better correlogram plots.