changing matrix to m x n
matrix basic operations

todo: gauss, solve