Working with implementing standard deviation

Working with implementing standard deviation into the threshold function
in Spike Cataloger.