added project.get_random_confs_from_states.randomize, which will either use np.random.randint or np.random.permutation based on the kwarg replacement to generate a random sample from a particular state.