properties test for qr decomposition added
qr decomposition rewritten with double arrays