Projecting Markov Random Field Parameters for Fast Mixing