export sparse matrices