XRD Characterization of Multilayered Systems