save output from forecast model, fixed bugs in forecast model, updated some ancillary functions for Operations script