An algorithm for the computation of the integral of the state transition matrix | Synapse