Edited Vector class