Support GpuCumsum on 3D array.

Modified GpuCumsum op to support 3D array.
nbElementsPerCumsum doesn't appear to be used.