An advanced system to support cognitive rehabilitation in multiple sclerosis