Computational methods for electromagnetic and optical systems. (2016)