Modified to use consistent measure of spike rate by including all unsorted spikes
update