Temporary memory neuron for the leaky integrate and fire neuron model