Outlier rejection

Outlier rejection was added at the plotting function (for the predobs
option).