Some minor fixes, and one major bugfix for finite-differences
Test case of Roy