Change type of qr decomposition object.  Not yet sure this is working.