Rigid Body Impact Modeling Using Integral Formulation