Handle matrices having each row/column padded out. Closes #69