Incorporating SAED and XRD into LAMMPS MD package.