Beginning overhaul.
Indexing seemingly works.
Smooth shading working.
Fixed typo.