Optical Simulation of Debye-Scherrer Crystal Diffraction