I am no programmer, I'm not even a mathematician, so implementing this as a custom component is most likely outside of my reach. A lack of understanding and expertise aside, I still see the amazing potential for a general component that performs Automatic Differentiation. From the research that I have done on the subject, AD appears to be the most accurate and fastest method of computationally and recursively deriving functions.
I've found a C++ library that is unlicensed and freely available that performs AD. I can't attest to it's accuracy, reliability or anything, but it is at least a great place to start for someone with the skills to put it in place, which I am just short of BEGGING someone to do!
Here's a link to the files and a good explanation of what the library does.
Here is also the Wikipedia article on AD