fix bug. tridiagonal matrix is wrong previously.

Fix lanczos bug.