Basic vector class.