Added logit estimation, but optimization is still wobbly