Added functionality to Vector Class.