tridiagonal matrix example 3x3