What are the matrix used for?