code: private double continuousAverage(final double Y0, final double Y1, final double Y2) {
          final double A = 1;
          final double B = 1;
          final double C = 1;
  
          return ((A * Y0) + (B * Y1) + (C * Y2)) / (A + B + C);
      }
docs: Returns the value smoothed by a continuous average function
  @param Y0
  @param Y1
  @param Y2
  @return the value smoothed by a continous average function