General Update of Code

Added PSTH functions and Ca peak detecting as well as clustering.