* balance matrix elements
* add function matrix_info
* change license