Python module for solving tridiagonal systems of equations