Calculate the cumulative product for all Vec elements.
The size must be set by the user. The function will store all powers of Value in
CValues[i] := IntPower(Value, i)
at corresponding array index.
CumProduct Method