The LIF nonlinearity is now fully working.

It's pretty quick, too. The only thing left to do is upsampling, but that's a quick fix. (Sorry about all the merge messages.)