Library for working with matrix (just for fun and my studying)