Added CalculateSpikeRate

This function extracts the average spike rate from the data files.