Added new reset() function to hmc_step