The Las Vegas Clip Function

This version of the Clip function was written in the airport at Las
Vegas and is based on the cycle finder algorithm. It handles peaks,
troughs or both cases, and deals with data where the peaks and troughs
are closer than the duration period.
Merge branch 'master' of https://github.com/FlightDataServices/FlightDataAnalyzer