Update create_gathering_event_data_stream_given_graph.m

function declaration fix