Detection of mental fatigue using an active BCI inspired signal processing chain