final double newAmpl = orders / val;
final SineIntensity finalIntensity = new SineIntensity(
newAmpl, freq, relHeight, newAmpl * min);
final double compensatedArea = ri.integrate(10000000,
new IntensityFunctionWrapper(
finalIntensity), 0, lengthOfScenario);
// System.out.printf("compensated area: %1.3f%n", compensatedArea);
final List<Double> sineTimes = FluentIterable