Fix qr multiplication