NEFEnsembleFactoryImpl ef = new NEFEnsembleFactoryImpl();
NEFEnsembleImpl c = (NEFEnsembleImpl)ef.make("c", 10, 1);
LinearExponentialTermination[] nodeterms = new LinearExponentialTermination[10];
for(int i = 0; i < nodeterms.length; i++) {
nodeterms[i] = new LinearExponentialTermination(new SpikingNeuron(null, null, 0.0f, 0.0f, null), null, transform[i], 0.0f);
}
PlasticEnsembleTermination term = new PESTermination(c, null, nodeterms);
term.setTransform(newtransform, true);