Diffractometer computation library