Caught a bug for the EndCond = 1 sim type

When calculating the poincare map of higher periods it would keep
walking because Steps2Slope kept getting updated after each step.
Also "merged" Test.m into TestSim.m
Event triggered pulses

Worked on adding externally triggered pulses to Controller. Still has to
be checked.
Controller event triggered pulses

Squashed some bugs when setting up the controller.
Also tested the event triggered pulses.
Changed to ext. triggered controller