Matrix formalism for calculation of electric field intensity of light in stratified multilayered films | Synapse