Simple implementation of Strides.
Iterate over ND indices in a natural order
Get multidimensional from linear
Get linear index from multidimensional index
The size of linear buffer to accommodate all elements of ND-structure corresponding to strides
Strides for memory access