// int M = mu.length;
// double[] values = new double[M];
MeanVariance ans = new MeanVariance();
double maxmu = MathPF.max(mu);
for (int s = 0; s < nsamples; s++) {
Truth truth = GenerateTruth(rnd);
ans.AddSample(truth.BestValue() - maxmu);
}
return ans;
}