Gravar e-mail: Unsupervised sparse coding-based spiking neural network for real-time spike sorting