Added function to add coeffs.