Create IBD_sweep.r

Operates on the same loaded files as IBD_chunk