An alternative to full 3d simulations of out-of-plane grating couplers based on 2d fdtd simulations, the effective index method and the rayleigh ii integral.