Nomials refactoring

Using this branch to collect changes to 'nomials'.