fix fopen bug ('w') in merge_trans and compute_all_trans.m
able to cache features!