A conceptual mistake in computing the posterior of each class is changed, a couple of bugs in synthetic data production is removed