Numerical Studies and Optimization of Magnetron with Diffraction Output (MDO) Using Particle-in-Cell Simulations