On Learning Continuous Pairwise Markov Random Fields