added v to arguments of NewtonSolve
added code to update all the vpsi's in L if L.size > 1
made L argument of NewtonSolve
NewtonSolve works for multimode
separated into lasing list and nonlasing list
replaced mH with Lh in arguments of ThresholdSearch
added vNh to arguments of thresholdsearch
changed mH to Lh in FirstStep
added vNh to arguments of FirstStep
changed FirstStep from recursive function to while loop
added ih support to FirstStep
fixed typo with last commit ( dc = -GetValue...)
replaced FORMODES Ll loop in Salt.c with an if statement testing if Threshold first reached
made small fix for multimode case of FirstStep
defined vNh, fNh, and dvNh and made all necessary replacements. Now just need to insert the "bundle" code
removed vout from bundle function
removed hard-coded CountLasing > 2 code, small problem with FirstStep multimode though, should be easily fixed...
fixed two glaring typos in FirstStep, now it works for multimode (but gives a negative c for some reason)
FirstStep finally works for Multimode!
last commit for a while!