Frequency-domain modelling of gain in pump-probe experiment by an inhomogeneous medium. (17th January 2018)