Implementation of mathematical matrixes on C