changed 'groebnerBasis' in m2, now takes optional arguments

and allows mathicgb to be called.  Warning: the interface is likely
to change!