Fixed bug: incorrect h gain computation.

Entropy gain was incorrect.
Removed dead files (console app).