making a few style changes to model evaluation code to enhance readability. checking parameter settings.