Fixing a mistake in allocating memory.
Adding a vector add benchmark.