Microwave verification of a numerical optimization of fourier gratings