Rethink slices
Move getSliceExtentsU out of top level
Switch C implementations of dim, dimF
empty: matrix is 1-by-1

The 0-by-0 matrix is actually full!
Cleanup C.slice
pack: ensure r > 0 and c > 0
Add unpack
Fix test suite