mat: Test behavior of zero-sized matrices
Created by: btracey
list_test.go does not test zero sized matrices. I quickly checked adding them and the testing suite panics. We should make sure there is a fixed behavior when there is a zero sized argument (at least on a per function/method basis).