Closed-Loop Brain-Computer Interfaces for Memory Restoration Using Deep Brain Stimulation