Combined functions for saving model output images. Now in one save_posterior_model function that takes a mode argument for weighted vs. MAP vs. (anything else that makes sense later)