N-Dimensional Array Class, with arbitrary type, using inheritance. Used as the base for an ND image. Optional cluster ordering for speed.