Making model fitting more stable.
Tidying up plotting code.