Improvements in Vector class