Retrieves a vector by index.
The vector index (0-based)
The vector as a float array
if index is out of range