generlized code for reporting dict statistics
removed unused vars
finished sgd exps with class weighting