fixing bugs in make-fpoly and project-powers
fixing bug in make-fpoly