Added functionality to Vector.h