extract_event_ftrs function

Extracts events from a data stream and computes event features.