Simplify the coefficients