Added square test for QR factorization