Fixed NullPointerException when calling MPLE with some observed target
variables, Restructured DiscretePredictionComparator to reduce redundant
code