Added HierarchicalMultilabelModel class

remove "if (num_classes)" and add a "REQUIRE(num_classes > 0, ...)" to the top.