modify sample_run.m, add perm hotelling