Time domain optical response of electro-optic modulator using FDTD