Added fuse_ht_dirs.py. Minor changes to cal_kl.py