Sparse Matrix Addition Python