matrixpwr function

Powers of a Square Matrix