Added background option. Changed a,b,c to coeff