Invariant Finite Element Model for Composite Structures: The Generalized Unified Formulation