A new algorithm for fast simulation of optical spectra generated in a nonlinear media - CPC, Mendeley (Mendeley, 2004)