Add tests in anticipation of lin prog solving.

I also built a tool here:
http://tylerneylon.com/a/matrix/
to help me run a few samples "by hand" to make sure my tests will
operate as expected.