Diffractometer data processing