Added support for setting a module monomial order to the library interface. This is not used for anything yet.