Removed unnecessary params in cum_func
Picks up from #13167 by properly removing the parameters and ensuring that `numpy` compatibility has been maintained.  The current test suite does a good job of checking that already, so no tests were added.

Closes #13541.
