Machine learning sifts through vast data from X-ray diffract