A matrix implementation in C similar to MATLAB.