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