Random Input Sampling for Complex Models Using Markov Chain Monte Carlo