Cognitive neural prosthetics for clinical applications