Accessing 3-D array with subscript notation