D-Optimal Design for Generalized Linear