IsTermOrdering --
check if a matrix defines a term-ordering
Syntax
IsTermOrdering(M: MAT): BOOL
Description
This function determines whether a square matrix defines a term-ordering,
i.e. if its determinant is non-zero and if for each column the first
nonnegative entry is positive.