Added a C version for the CumsumOp.