add polynomial division and updates for changes to Julia