Integrals and Partial Fraction Decomposition