Fix typo.
Remove legacy code.
Minor optimizations to event.frominput().
Minor optimizations to Event.flows() method.
Remove manual exception in Particle.__init__() [provides a slight speed boost].
Remove stray empty lines.