use Calculus for derivative rules; tidy tests
Merge pull request #1 from mlubin/master

use Calculus for derivative rules