Make vectors use an array internally

Signed-off-by: TheSniperFan <thesniperfan@gmail.com>