Modifed code to triangluate every vertex. This seems necessary for getting vertex normals