Create matrix calculation library.