changed some variable names
added a new search type: will slide search window over window of interest and find most positive/negative search window and use as peak.