Computing coefficients simplified.