Changes to allocate_array

Reference struct members by name. Attempt to fill in shape and
strides using cgutils methods.
Correctly build array object