Make initial value in cumulative integral work.
This MR makes the setting of the initial value in cumtrapz
work.
I also simplified the expression a little.
This MR makes the setting of the initial value in cumtrapz
work.
I also simplified the expression a little.