block tridiagonal matrix