Solving Matrix Differential Equations