Fixed gen_sn_eos::slice and updated matrix_row_gen, etc.