Added getWeight to HierarchichalFitness