Time-Domain Simulation of a Mach–Zehnder Modulator