Magnetic domain wall neuron with intrinsic leaking and lateral inhibition capability