code: private double SmoothedNoise(double x) {
          int xInt = (int) x;
          double xFrac = x - xInt;
  
          return CosineInterpolate(Noise(xInt), Noise(xInt + 1), xFrac);
      }
docs: Smoothed noise.
  
  @param x Value.
  @return Value.