Analytical inversion of symmetric tridiagonal matrices | Synapse