Example of 3d matrix