Remove unused terms from energy struct.
Do not compute if polarization is turned off.