boolean eventBased = true;
// save memory?
boolean saveMemory = false;
// output model and parametrizer
GaussianUnivariate gauss = new GaussianUnivariate(0,1);
EM em = new EM(_obs, eventBased, initialParameters.getNStates(), initialParameters.isReversible(), gauss, gauss, saveMemory);
em.setInitialParameters(initialParameters);
return em;
}