Cross Entropy: A New Solver for Markov Random Field Modeling and Applications to Medical Image Segmentation