Clean up MatrixFunction and MatrixLogarithm.