matrix exponentiation. the general solution to a linear system of odes