Lumerical Sub-Wavelength Model: How to Simulate a Grating with Spatial Variations