Fixed a bug in the vector implementation

Running test-vector inside Valgrind would produce a message warning about a conditional jump or move being performed on an uninitialized value. This was due to the memory allocated for the vector not being initialized, meaning that the pointers inside the array were never initialized to NULL.

Code was added that would initialize newly created pointers when the vector was re-sized and when the vector was initialized.