Replaced expm with (allegedly) faster ways of exponentiating the matrices separately. Still slower than perturbation theory.