Added a new library for matrix statistics