Implemented cache for the computation of the correlograms.