types of matrices and their properties