Added correlation function measurement to sample idmrg code.