Corrected func_coef