What are the types of matrix?