Corrected rainflow.reversals
Corrected rainflow.reversals

rainflow.reversals should detect reversals which span over several constant values. For example in a series (1, 2, 2, 1) there is a peak equal to 2.
iamlikeme/rainflow