begun rewriting geometry generation to use vectors instead