Give a tool for the treatment of electromagnetic wave propagation in linear and nonlinear media.