Update to nomlib's latest API on feature/GUI branch

* This commit fixes the previous non-functioning modifications that were made.