simplify butterfly statements
experimental template
Merge pull request #5 from dk14/derivatives

simplify butterfly statements