Use cquad instead of qags as integration procedure.

QAGS is meant to be used when encountering known singularities.
CQUAD is a better general purpose integrator.
Merge pull request #4 from badshah400/master

Use cquad instead of qags as integration procedure.