ComputeMaxInfoGainsDiscrete function

Max information gains (discrete)