Moved nonlin_model.py to new NLG baseclass, results seem to differ from
previously, will verify if the implementation is correct using
standard_nonlin_model.py