Ensuring all DerivedVariable elements have an attribute dimension