Removed code to compute ideal gaze angles.
Created separate time matrix.
Smoothing and derivative function.