Added optimized version of Matrix Exp.