added functionality to only include certain times in event_count_matrix
added functionality to only include certain times in event_count_matrix

arianasp/baboons_code,arianasp/baboons_code,arianasp/baboons_code