float var = 3;
MixtureComponent gaussian = new MixtureComponent(new float[]{mean}, new float[]{var});
for (float curX = minX; curX <= maxX; curX += resolution) {
double gauLogScore = gaussian.getScore(new FloatData(new float[]{curX}, 16000, 0));
double manualScore = (1 / sqrt(var * 2 * PI)) * exp((-0.5 / var) * (curX - mean) * (curX - mean));
double gauScore = LogMath.getLogMath().logToLinear((float) gauLogScore);
Assert.assertEquals(manualScore, gauScore, 1E-5);