Vast improvements of Vector class