modified lsqr to accept temp variables as keyword arguments'