Updated CC codes, to read info from the wavefunction, not the checkpoint file.