Fixed Vector class working