fixed a couple of bugs in loading forecasts from mat file