printing coefficients to console