int matrixDimensions

Getter for the number of dimensions.

This function returns _matrixDimension which is the number of dimensions this matrix has. For instance, a matrix with 3 dimensions would be a cube.