Add subcommands shape, rows, cols
Implement matrix product in N dimensions