Optimizing Brain-Computer Interfaces through Spiking Neural Networks and Memristors | Synapse