Use median for the bias subtraction
Fix bug: out_dir is not defined, outdir is
Update calls to combine.py, parameters have changed