Optical Metrology - S-Matrix Methodology