DistributionFunction[] fn= new DistributionFunction[]{
new NormalDistribution(0,1),
new NormalDistribution(0,1)
};
EM em= new EM(d, fn, null);
EMResultEntry res= em.getOptimalResultEntry();
double mm= Double.POSITIVE_INFINITY;
double ms= Double.POSITIVE_INFINITY;
if(res!=null){
ArrayList<DistributionFunction> distrs= res.distrs;
for( int i=0; i<distrs.size(); i++ ){