Refined vector class, added list2vec and getitem attributes