Added a new parameter for hierarchical predictor and a new function to count the results of classification.

Signed-off-by: Paulo Hack <ph_hack@hotmail.com>