This evaluates the sensitivity function of the D-optimality criterion at the given value of x for a specified model.
smallds1(T, x, inv, order)
A numeric vector. Model parameter values
A numeric. A given dose level
A numeric matrix. Inverse information matrix
numeric. The number of model paraemters: 3, 4, 5 for the 3, 4, 5PL models respectively