Change vector accesses from at to bracket syntax