move width/height/dim out of IPatternMatrix protocol
remove gratuitous protocol usage around `PatternMatrix`, convert to
regular fns. remove `insert-row` and `insert-rows`, dead code