Added implementation of central differences. Seems to work fine.