Tweaked API for element residual derivative. Also some (commented
out) print statements.