bug fix: add special case for b==0 to quadform solver

Previously, it simply gave completely bogus results when b=0.

Fixes #88.
Merge pull request #89 from diagrams/issue88

bug fix: add special case for b==0 to quadform solver