0.0));  if (Crit < MinCrit)  {  MinCrit = Crit;  OptIterX = IterX;  OptIterY = IterY;  OptCX = CX;  OptCY = CY;  for (int i = 0; i < 0; i++)  {  xopt[i] = xc[i];  yopt[i] = yc[i];  zopt[i] = zc[i];  }  }  CX += 