Implement new derivative generation structure.
Coder cleanup.
Remove unused function.
Merge pull request #66 from jordandukart/7.x-derivatives

7.x derivatives