Added CalcAPI

The program now has the ability to take the derivative of any set
function.