Added the spatial discretization function for advection and diffusion. These functions have not been tested yet.