Robust input/output to Event functions and output functions

Tried to make sure that user-specified event functions and output function always receive column vectors.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>