Return polynomial if it already homogenuous, and PEP8