Gravar-mail: Analog Memristive Synapse in Spiking Networks Implementing Unsupervised Learning