fix private and public member issues, change the interface of calculate
GINI
comments some log printf