moved Gal's code
flat unit spike times
time conversions
firing rates