Use objects rather than arrays.

Turns out, o.x is much faster than o[0]!