new function takes spikes, events, returns regressor dataframe