Added count_spikes_in_range.
Added test script for plotting tuning curve (for one intensity).