typos

wrong ds and forgot to declare n_cols/n_rows