Adaptive BCI-controller for dynamic systems