Initial stab at arrays, and geometry.

Array decoding works, encoding does not.