             id = i;       
         }
         if (id < 0){
+	  // If this combination of tau/reversal potential doesn't exist, add it:
           num_decay_terms += 1;
           h_decay_term_values = (float*)realloc(h_decay_term_values, (num_decay_terms)*sizeof(float));
           h_reversal_values = (float*)realloc(h_reversal_values, (num_decay_terms)*sizeof(float));

          indx += blockDim.x * gridDim.x;
          continue;
        }
        //synapse_switches[indx] = d_active_synapses[indx];
        int timesteps_until_spike_reaches_synapse = d_spikes_travelling_to_synapse[idx];

        // If the spike is anything but zero (reset value) decrement it

                  synapse_switches,
                  time_of_last_spike_to_reach_synapse,
                  timestep);
      }
    }

