CART optimized
Merge pull request #2347 from mazumdarparijat/gd

CART optimized