clean up and document support for quadratic objective (#11)