OSL emission code, refactor #1.
Merge pull request #560 from est77/OSL_emission

OSL emission code, refactor #1.