made updateLasing, resetJ, blockDerivatives multimode (untested w/ more than 1 mode)