A note on D-optimal designs for models with and without an intercept