The property NrOfLayers controls the number of layers of the hypercube matrix. The matrix elements are addressed starting with an index of 1.
Hint:
If you have to adjust not only NrOfLayers but any of the other dimensions (NrOfColumns, NrOfRows, or NrOfTimeSlots) as well, then it is faster to use the method Resize.