Add the central_difference function and a test for it.