Lots more polynomial operations and a couple more fixes.