Add correlation length computation