Fix Anderson model for calculation of energy, and for
single reference linear response models