Numerical Methods for the Evolution of Fields with Applications to Plasmas