Fix to allow ubyte vectors

The basis vectors, that are automatically generated, passed int values into the
constructor. This caused errors since an int cannot be converted into a ubyte
implicitly. Now we just pass in parameters of the vector type.