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