The FQM class does not have .list() anymore so I changed to use list(F) instead of F.list()
Added the .gens() property to the FQM class
Fixed factoring of matrices into generators S and T using continued fractions