qr_solve_exact function

exact qr.solve