docs: private void update(){
          
          total = 0;
          for (int i = 0; i < values.length; i++) {
              total += values[i];
          }
  
          mean   = HistogramStatistics.Mean( values );
          stdDev = HistogramStatistics.StdDev( values, mean );
          kurtosis = HistogramStatistics.Kurtosis(values, mean, stdDev);
          skewness = HistogramStatistics.Skewness(values, mean, stdDev);
          median = HistogramStatistics.Median( values );
          mode = HistogramStatistics.Mode(values);
          entropy = HistogramStatistics.Entropy(values);
      }