Created by: AdityaSavara
I've changed get_next_kmc_step to reset the random number after it is finished.