Removing next from numerical integration.

close #17