corresponded to any matrix
used Matrix Library