A = Matrix.New({{1,2}, {3,4}}) B = Matrix.Expand(A,4) C = Matrix.Expand(A,4,3) print(B) print(C)