Finding Locally D-optimal optimal designs for some nonlinear and