Added some polynomial methods for factored expressions.