fix the bug when calculate gini cat
add F1 measure in evaluate.sh, fix the gini calculation NAN bugs