A multi-modal BCI system for active and assisted living