Calculate normal after creating vertices

Hi I've played with your code and wonder why there the normlas available in the shader are always 0. After digging into your code I recognize that you create the normals before you create the vertices, this could not work.