External# Functions for interacting with other code and packages. plot_MAD_results Plot original MAD results, provided by Zhou Wang.