Replaced householder qr solution with an updated solution.