MULTIPLE DIFFRACTION SIMULATION IN THE STUDY OF EPITAXIAL LAYERS