A c library for matrices