double[] bi = bData[i];
for (int j = 0; j < b.getColumnDimension(); ++j) {
bi[j] = 1.0 + 0.1 * ++counter;
}
}
RealMatrix bbt = b.multiply(b.transpose());
covariance = new RealMatrixImpl(mean.length, mean.length);
double[][] covData = covariance.getDataRef();
for (int i = 0; i < covariance.getRowDimension(); ++i) {
covData[i][i] = bbt.getEntry(i, i);
for (int j = 0; j < covariance.getColumnDimension(); ++j) {