Fix resonance energy calculation. Reenable E field virtual imaging.