Updated merge_data.py so that it uses the functions in binning_utils.py. Also fixed bugs in binning_utils.py