adds qr factorization with householder transformations