changed test case for QR decomposition because the example had some numerical issues