Fixed insert_vector and #each_row_with_index reflects #each_row