LaserDiode_ThresholdGainTMM Computes the threshold gain in various kind of cavity: -> Fabry-Perot -> DFB -> VCSEL