fixed bug that produced incorrect off-diagonal Lanczos matrix elements