Initial implementation of deriving sin(x) and cos(x).