Function addchg

void addchg(Real) (
  ref Real dif,
  ref Real size,
  Real[] new_,
  Real[] chg,
  int n
);