Text this: Modeling of Complex Integrated Photonic Resonators Using the Scattering Matrix Method