Output links as 6 32-bit integers
New output format

 - Each column represents a link rather than a row
 - Link data is split into 6 32-bit words rather than 24 8-bit
Merge branch 'new_format'