Added some mat-num unit tests. Discovered a bug in the QR minnorm solver (backsub and forwardsub were inverted).