Fixes a typo: the name of the plot option is plot_format and not plot-format
extend chinese remainder to non-coprime moduli
I had overseen one shortcut in chinese remainder