now nreg.py implements a more general integration method.