Text this: Matrix methods of optical resonators