Fix indexing errors in finite difference

- the right bounds for the middle elements were off
- typo in 2nd last parameter to cs4
Merge pull request #8 from has2k1/fix-finite-difference

Fix indexing errors in finite difference