lforecast function

Compute long term forecasts.