Fixes orientation of bit matrix to liny-by-line.

This refs #15 and refs #16