fix problem with specifying parameters for sampler

1. cannot specify metric for hmc
2. when specify nuts, it should check if int_time is bigger than 0