Time domain analysis of electromagnetic wave propagation in nonlinear dielectric slab