More work on vector class