Adding functions like getNumColumns() and getNumRows() or whatever that return unsigned ints should be fine. What kind of problems were you having?