explain cost vectors