Modeling Power-Stabilizing Loops In a Fiber-Optic Transmitter