Added function to apply a difference rule to a slice and tried second order time
relaxation