Made finite_diff efficient
Merge pull request #2137 from SaurabhJha/kauers

Made finite_diff efficient