Optimized version of Matrix Exponentiation.
Revert "Added optimized version of Matrix Exp."

This reverts commit f3d6b0896e420d5d5b5ea72efdcef096b0133967.