Technology enabling neurorehabilitation and cognitive recovery