fixed a minor bug in PiecewiseTemporalEvent
plus minor edits to '__repr__'s around the code