Tuned Algebra_Stuff

Tuned sum_phi'_factors and num_elems_of_ord_eq_phi' (was N_d_eq_phi') in Algebra_Stuff.