Creating new matrix

Set the size of the matrix, and select type. From here, you can define how the cells in the matrix are going to relate to each other by selecting the right type: