fixed for loop bounds

We need to be able to actually manipulate more than 1 neuron's data.