Major cleanup of systems_of_equations_ex6, based on the implementation used in systems_of_equations_ex7. Also, small change to ex7 (use default_quadrature_order).