fixed bug in update coeff: 3 shock deterministic case working