Fuzzy local algorithms for time series analysis and forecasting