Analysing psychological stimulus event trains (psychology / fMRI). With OOP Matlab.