Text this: EEG signals during epileptic seizure as a semigroup of upper triangular matrices