Texture analysis of complex earth materials from neutron diffraction spectra