Grating coupler - Matlab-driven optimization (2D)