Applying changes recommended by Marcus Brubaker
Renamed function scale to quad_form_diag
Group quad_form_diag with quad_form in the manual