QR factorization: Fixed wrong matrix size if size1() < size2()

Reported-by: Karol Polko