Eliminating deleterious effects due to thermal effects or electric or magnetic fields