Fixed batch correction and averaged duplicates for rescue data.  Also
made PlotDir function.