Link cumsum and diff to one another...

...as theyre roughly the inverse of each other