Calculates either the Intensity from reflection (outgoing beam from top layer) or the Intensity from transmission (outgoing beam from substrate). To calculate the appropriate transmission in a thin film foil the substrate should be a vacuum layer.