docs: public void add(double value)
      {
          max = Math.max(max, value);
          min = Math.min(min, value);
          if (count == 0)
          {
              average = value;
          }
          else
          {
              average = count*average/(count+1) + value/(count+1);
              deviationSquare = count*deviationSquare/(count+1) + Math.pow(value-average, 2)/(count+1);
          }
          count++;
      }