Lanczos fixes (unfinished)