Added necessary parts for simplification.
rev_list() function added.
Debugging related to poly vs. powr.