Heat Equation (1D)

-error with computing D(n, k) removed