Handle situation with no matplotlib.
Add plot_with_residuals function to the ModelFit class. Various fixes.
Add plotting errorbars when weights are set.