f-measure divide by zero bug fixed