Gain theory and models in silicon nanostructures