lesp forgallery+correction to tridiag