A Polytomous Nonlinear Mixed Model for Item Analysis