Calculate H(k) for a group by applying the projectors P to the eigenvalues eps.
H_ij(k) = sum_l P*_il eps_l P_lj