Title: Analysis and simulation of neutron diffraction patterns