Convert Obj file indexed vertex data to triangles array