Vectors are malloced, probably causes memory leaks, but can now return
vectors from procedures/functions. 108/109 tests pass