Minimalistic C++ container for sparse matrices, to be used with CUDA code