Indexing using a free random variable

Currently, Metropolis still suffer the same problem as explained in Issue with DiscreteUniform distribution