3D model rendering

Adjusted vertex and index arrays and added in modeltype struct to allow
for reading and rendering of 3d models