removed problem in coreelation index function where the firing_rate function was overwritten by a variable when normalize=True