fixed bug in setCoefficient added comments fixed formating