Finished point_forecast.m function.