Merge Pull Request #15
Fix Integral calculation
Merge pull request #5 from DougEdey/master

Rebaseline