Second Pass

Transitions based on pulses from 2P, but doRand does nothing and there still needs to be a .m file to process all the variables.

Signed-off-by: Andrew McKinney <mckinney@neuro.duke.edu>