Fix translation vector ordering and offset

The axes are in the opposite order, and there is extra padding to be
accounted for