This function is modified from Cohen's paper
mark_oob(data, xy_bounds, trial_num, cur_trial)
A data.frame containing the fixation data
A mtraix containing the boundaries of fixations. If it has only one row, all trials use the same boundary. If it has many rows, the number of row should be equal to the number of trials, and each row corresponds to the boundary of the corresponding trial. In each row, it has four columns:
x_min: Left boundary (minimum x value within the boundary).
x_max: Right boundary (maximum x value within the boundary).
y_min: Top boundary (minimum y value within the boundary).
y_max: Bottom boundary (maximum y value within the boundary).
Integer indicating the total number of trials
Integer indicating the current trail
A copy of data with out of boundary fixations marked as 'oob' in column type
This function marks fixations outside boundary as 'oob'