Started calculus support, implemented derivatives