Added function to calculate moving average coverage, and used to find summits, plot peaks , etc.