fixed more index mistakes in calculating Lambda_star