Bug fix (typo)

Typo: vertexGenerator, rather than modeGenerator