Hierarchical Model for the Analysis of Scattering Data of Complex Materials