Use `new GeometryAttribute`.  See the `componentDatatype` and `componentsPerAttribute`.

Also, use `new Array(size)` instead of `[]`, and explicit subscripts below instead of `push`.  Later we may change these to typed arrays, and this will make it easier.  The array size is the number of attributes (vertices) times the number of components per attribute.