Added a function to allow differentiate() to make a finite difference based on a symbolic expression