for rebalance.m, (1) propagating error correctly (pretty easy), (2) default output is rdat, (3) allow specification of output_file, (4) when applying correction, just using 1/ratio (the original code had a matrat factor that was confusing). Correcting some bug in smoothMOHCA.m that caused it to die with figure names.