Fixed bug in coeffecient