Calculating Centered Differences