Adding explicit QR factorization to Python interface