WIP: semidefinite quadform
MAINT: allow a singular quad_form
MAINT: remove a bit of cruft
minor change for rtd
merging in new quad_form