committing part of matrix library