ClassBags Changes

Tf -> Changed to log(tf)