Grazing-incidence diffraction and the distorted-wave approximation for the study of surfaces | Synapse