EM Simulation using the FDTD Method