integrate incidence and exit medium into the layer structure array