fix degree count
Merge branch 'derivative-operator'