Small matrix handling.
Update error messages.
Updated.
Fix flop count.