Gravar e-mail: A SPICE Model of Phase Change Memory for Neuromorphic Circuits