//Plotter.plot(CEForceVelocity, vmax, .1f, -vmax, "CE Force-Velocity");
//Plotter.plot(SEForceLength, 0f, rl*.001f, rl*.1f, "SE Force-Length");
Dynamics d = new Dynamics(tauEA, 5000f, CEForceLength, CEForceVelocity, SEForceLength, false);
d.setState(new float[]{.001f, rl});
Integrator i = new EulerIntegrator(.0001f);
// TimeSeries input = new TimeSeriesImpl(new float[]{0f, 1f},
// new float[][]{new float[]{1, rl, 0f}, new float[]{1, rl, 0f}},
// new Units[]{Units.UNK, Units.M, Units.M_PER_S});
TimeSeries input = new TimeSeriesImpl(new float[]{0f, .001f, .5f},
new float[][]{new float[]{1, rl, 0f}, new float[]{0, rl, 0f}, new float[]{0, rl, 0f}},
new Units[]{Units.UNK, Units.M, Units.M_PER_S});
long startTime = System.currentTimeMillis();
TimeSeries output = i.integrate(d, input);
ourLogger.info("Elapsed time: " + (System.currentTimeMillis() - startTime));
Plotter.plot(output, "Force");
}