Basic implementation of GPU Vector type