QR factorization for stable fitting | Zoonk