Re-wrote the vector classes so that an initial array of elements can be provided to them.