script to calculate average events per second over all touch files
decode_events now updates the timestamp on button up/down events
should fix issue #5