add numerical integration stuff
Merge pull request #1324 from votjakovr/feature/numerical_integration

Add numerical integration stuff