C Library for handling Matricies