started adding support for logging matrices and used it
10 files changed