Matrix Differential Equation Solver