Fixes to finite_diff in response to PR feedback.