The Finite Difference Time Domain method (FDTD) in two dimensions with Perfectly Matched Layers (PML) Based on: Davidson, D. B. (2010). Computational electromagnetics for RF and microwave engineering. Cambridge University Press