Added CumSum with test and example.