added Matrix Exponentiation