Implement 3D arrays on top of 2D array
Add 1D/2D/3D tests