Added generation of vertex normals

Vertex normals are now generated on mesh creation. Seems to be working
alright, but still needs a lot of testing.