MAINT: integrate: fix a couple typos in the 'quad' function: one in the docstring, and one in an error message