reordered the output on line o30 to match the values returned by the latest version of factory.  I checked that they are the same, except for a permutation of 2 of the ideals
merge
added in bug report just reported
merge
start of support for mathicgb.