refactoring some functions for issue #17
Add invert()
Add offsetToZero()
Add currentAbove(), currentBelow()
Add integral()
Refactor forEachSeriesDo
Merge pull request #34 from cashlo/master

Adding some more functions