Fixed incorrect calculation of information gain 

Fixed incorrect calculation of information gain for balanced node.