Matrices and its types