Modeling the Light Curves of the Luminous Type Ic Supernova 2007D