Elements of nonlinear time series analysis and forecasting