Scattering matrix method for propagation of radiation in stratified media: attenuated total reflection studies of liquid crystals | Synapse