Are All U.s. Credit Unions Alike? a Generalized Model of Heterogeneous Technologies with Endogenous Switching and Fixed Effects