Fixes bugs with array creation and access, 16 basic tests now failing