Added upsampling for LIF neurons.