Diff of symfun gives another symfun instead of sym

Fixes #166.
Merge pull request #167 from cbm755/diffsymfun

Diff of symfun gives another symfun instead of sym