Fix neuron tuning curve example to go with current rate code