findDrawdowns function

Find the drawdowns and drawdown levels in a timeseries.