Describir: Grating Theory Approach to Optics of Nanocomposites