models.draw - fix issue when model has no indices property

Fixed issue in models.draw where totalComponents value was assumed to be the number of indices components even when model did not have an indices property. If model has no indices property then totalComponents should be the number of vertices in the model.

With this change I can simply make my model have arrays like:
{ position: positions}