def independent(A):
    try: import sympy
    except: 
        print("Cannot install"); raise
    _, inds = sympy.Matrix(A).T.rref()
    print("Lin Indp rows are: "+str(inds))
    return A[list(inds)]