Text this: Mathematical theory of X-ray powder diffractometry.