add new function offsetToZero
more documentation and an example for offsetToZero
Merge pull request #347 from mprovost/master

new function offsetToZero