manualintegrate: handle unevaluated derivatives
Merge pull request #2146 from lidavidm/manualintegrate_derivative

manualintegrate: handle unevaluated derivatives