6.7 Explanation of Subroutines: Finite Difference