changes sigma_g's to eta_g's in code