N-dimensional arrays