tridiag: bug fix
includes fixed
fix compilation