Diffraction interface theory & planar layered media