TMultiArrayView::DimensionCheck

Checks if a dimension is within the allowed number of dimensions