Fixed code to do the right thing when adding columns or rows.
Moved prod to MixedBase.
Added support for inserting rows and columns.