Increment j in for loop
reformat matrixPrint function body
Move getReshapedIndex to top of file
Change xset to write cmd in command table
Don't need to memcpy dims
Store size on matrix struct

Seems like I'm recomputing this number all over the place
Remove unused variable
Reformat matrixSlice
Make shape memcpy simpler (to me)
Box values in scalar struct for ref counting
Add zero matrix function for initializing with zeros
Slice and set values in subregion
Remove unused function
Add XZEROS and XONES for creating matrices
Reorganize function declaration order
Inline variable declaration and initialization
Add XEYE command for creating identity matrices
Add stride argument to matrixSetValues

Dries up creating identitiy matrices
Add stride argument to generic matrix create cmd
Rename getReshapedIndex to reshapedIndex