M = [ 3, 2; 2, 1 ]; M^0 M^1 M^2 M^(-1) M^0.5