FmeasureC function

C++ implementation of the F-measure computation