Added tests for dmat linear algebra, part 1.

Debugging print statements remain. linear algebra for ffpack is not
re-working yet after the change to row-major order.  But flint is
about 2/3 working.