myName = name;
myNodes = nodes;
myNodeOrigin = nodeOrigin;
myFunctions = new FixedSignalFunction[targetSignal.getDimension()];
for(int i=0; i < targetSignal.getDimension(); i++) //these are only used in direct mode
myFunctions[i] = new FixedSignalFunction(targetSignal.getValues(), i);
myDecoders = findDecoders(nodes, MU.transpose(targetSignal.getValues()), approximator);
myMode = SimulationMode.DEFAULT;
myIntegrator = new EulerIntegrator(.001f);
reset(false);