Added functions to clean correlated spikes between trains.
Finished up correlation functions.