added hmc_binary_factors_one_sample2.m