Computed weyl dimension assuming a function to associate a principle weight to each root.
Given definition of associatedWeight