ModelEvaluator function

Evaluates performance of n-gram models