Update finite_diff.py

Fixed typos.