Adding in two more options (ROW_LENGTH, MATRIX_FORMAT), made things way faster and changed default output.