Ming activation scheme.
NOTE - right now, the variable names correspond to the FORTRAN implementation of the routine. Will change in the future.