C implementation of coordinate list (COO) and compressed sparse row (CSR) data structures to represent and perform operations on sparse matrices