Modeling the Permittivity of Composite Materials with a General Effective Medium Equation