Extended vector class