Added group_by_reduced_forms_with_sgn and group_by_reduced_forms to PrecisionDeg2.
Added _to_format_dct and _from_dict_to_object to PrecisionDeg2.