coe_comp

Added a new function coe_comp