Tidied up some polynomials