1D finite-difference Maxwell solver with two polarizations: E and B fields, polarization states, Poynting flux and Fresnel reflection from a dielectric slab.